# $Id: PKGBUILD 58310 2011-11-10 20:50:33Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: boromil@gmail.com

pkgname=raw-thumbnailer
pkgver=0.2.1
pkgrel=1
pkgdesc="A lightweight and fast raw image thumbnailer that can be used by file managers."
url="http://code.google.com/p/raw-thumbnailer/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('libopenraw')
source=(http://raw-thumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha1sums=('f34012062c0b1eaa10525722c36bd027b11ade2e')

build() {
	cd ${srcdir}/$pkgname-$pkgver

	./configure --prefix=/usr
	make
}

package() {
	cd ${srcdir}/$pkgname-$pkgver

	make DESTDIR="$pkgdir" install
}
